/*
 * Copyright 2016-2017 TVI Go Easy.
 * Created on 2017/10/13 11:54
 */
package com.gitee.mechanic.mybatis.config;

import com.baomidou.mybatisplus.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * MyBatis Plus 配置
 *
 * @author mechanic
 */
@Configuration
public class MyBatisConfiguration {
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
